package Method;

public class method1 {
    public static void main(String[] args) {
        /*int a =10;
        int b =20;
        int c = a + b;
        System.out.println(c);*/


        int rs = sum(10,20);
        System.out.println(rs);
    }

    public static int sum(int a,int b) {
        int c = a + b;
        return c;
    }
}
